package com.tanhua.dubbo.server.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * Created with IntelliJ IDEA.
 *
 * @ClassName: HuanXinConfig
 * @Author:王晨晗
 * @Description: 环信配置类
 * @Date: 2022/01/05/10:58
 */
@Data
@Configuration
@PropertySource("classpath:huanxin.properties" )
@ConfigurationProperties(prefix = "tanhua.huanxin")
public class HuanXinConfig {

    private String url;             //请求地址
    private String orgName;         //远程名称
    private String appName;         //应用名
    private String clientId;        //客户端id
    private String clientSecret;    //加盐
}
